﻿namespace IOP.OpenType.Tables
{
    /// <summary>
    /// 横向度量头
    /// </summary>
    public class HheaTable : Table
    {
        /// <summary>
        /// 主版本
        /// </summary>
        public ushort MajorVersion { get; set; }
        /// <summary>
        /// 次版本
        /// </summary>
        public ushort MinorVersion { get; set; }
        /// <summary>
        /// 上限
        /// </summary>
        public short Ascender { get; set; }
        /// <summary>
        /// 下限
        /// </summary>
        public short Descender { get; set; }
        /// <summary>
        /// 下间距
        /// </summary>
        public short LineGap { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort AdvanceWidthMax { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short MinLeftSideBearing { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short MinRightSideBearing { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short XMaxExtent { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short CaretSlopeRise { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short CaretSlopeRun { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short CaretOffset { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public short MetricDataFormat { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public ushort NumberOfHMetrics { get; set; }
    }
}
